package com.digua.base.socket.request

import org.java_websocket.client.WebSocketClient


class PingRequest : Request<Any> {
    override fun setRequestData(data: Any) {}

    override fun getRequestData(): Any? {
        return null
    }

    override fun send(client: WebSocketClient?) {
        client?.sendPing()
    }

    override fun release() {
        RequestFactory.releasePingRequest(this)
    }
}